/*
package com.example.xpvideo.service.serviceImpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.xpvideo.entity.LsChannelLabel;
import com.example.xpvideo.entity.ResponseResult;
import com.example.xpvideo.enums.ErrCodeEnum;
import com.example.xpvideo.service.LsChannelLabelService;
import com.example.xpvideo.mapper.LsChannelLabelMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

*/
/**
 *
 *//*

@Service
public class LsChannelLabelServiceImpl extends ServiceImpl<LsChannelLabelMapper, LsChannelLabel>
    implements LsChannelLabelService{

    @Autowired
    private UserService userService;


    @Override
    public ResponseResult allotChannel(Integer userId,Integer[] ids) {
        if (null == ids || ids.length == 0) {
            return ResponseResult.responseResult(500, "请选择频道");
        }
        boolean result = userService.allotChannel(userId, ids);
        return result ? ResponseResult.responseResult(0) : ResponseResult.responseResult(ErrCodeEnum.unknown_20002, null);
    }
}




*/
